package com.qpx.shoppingcarservice.service;

import com.qpx.common.dto.ItemDto;
import org.springframework.beans.BeanUtils;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("GOODS-SERVICE")
public interface GoodsService {


    @RequestMapping(value = "/getItemById",method = RequestMethod.GET)
    public ItemDto getItemById(@RequestParam Integer id);
}
